package com.woniuxy.credit_loans.mapper;

import com.woniuxy.credit_loans.entity.ProductRecord;
import com.woniuxy.credit_loans.product_liu.dto.ProductRecordDto;
import com.woniuxy.credit_loans.product_liu.vo.ProductRecordVo;

import java.util.List;

/**
* @author donghang
* @description 针对表【product_record(product_record)】的数据库操作Mapper
* @createDate 2022-12-06 12:05:35
* @Entity com.woniuxy.credit_loans.entity.ProductRecord
*/
public interface ProductRecordMapper {

    List<ProductRecordVo> selectAllRecords();

    int insertProductRecord(ProductRecordDto productApprovalDto);

    int deleteByPrimaryKey(Long id);

    int insert(ProductRecord record);

    int insertSelective(ProductRecord record);

    ProductRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductRecord record);

    int updateByPrimaryKey(ProductRecord record);

}
